import React from 'react'
import ReactDOM from 'react-dom'
// 注意，我们一般不直接引入Router，而是引入 BrowserRouter 或者 HashRouter
import {BrowserRouter} from 'react-router-dom'
import App from './App'

ReactDOM.render(<BrowserRouter><App/></BrowserRouter>,document.getElementById('root'))